924eddff423065bf3167c32c9815c3f40aa6f913,kieker-monitoring/test/kieker/test/monitoring/junit/writer/serializer/BinarySerializerTest.java,BinarySerializerTest,testMultipleRecords,#,89
Before Change
}
// Terminate monitoring
controller.terminateMonitoring();
// Wait for a short time as the termination is *not* synchronous
LockSupport.parkNanos(200 * 1000000L);
After Change
// Terminate monitoring
try {
controller.terminateMonitoring();
controller.waitForTermination(2000);
} catch (InterruptedException e) {
Assert.fail(e.getMessage());